package com.dxx.cloud.admin.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * app用户
 * </p>
 *
 * @author dh
 * @since 2025-06-06
 */
@Getter
@Setter
@TableName("app_user")
public class AppUserEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 商户id
     */
    private Long merId;

    /**
     * 门店id
     */
    private Long shopId;

    /**
     * 1微信
     */
    private Integer appType;

    /**
     * wx的openId
     */
    private String openId;

    /**
     * 微信昵称
     */
    private String nickName;

    /**
     * 微信头像
     */
    private String avatarUrl;

    /**
     * 上次登录时间
     */
    private LocalDateTime lastLogin;

}
